package com.cxyd.common.exception;

public class ApiException extends RuntimeException{
    private static final long serialVersionUID = 1L;
    private int code;
    private String msg;

    public ApiException(String msg){
        super(msg);
        this.code = ErrorCode.INTERNAL_SERVER_ERROR;
        this.msg = msg;
    }
}
